Skip to content

adds some scripts to test failing compactions#295

Merged
keith-turner merged 6 commits intoapache:2.1from
keith-turner:compaction-failures
Aug 29, 2025
Merged

adds some scripts to test failing compactions#295
keith-turner merged 6 commits intoapache:2.1from
keith-turner:compaction-failures

Conversation

@keith-turner
Copy link
Contributor

@keith-turner keith-turner commented Jul 14, 2025

Created a few test scripts to explore how the code currently behaves w/ different kinds of compaction failures.

test/compation-failures/README.md gives an overview of what these test scripts offer

System.out.println("Corrupted checksum value on key " + key);
}
} else {
System.out.println("No entry found after " + new String(startRow, UTF_8));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this should be an exception instead of a println. It would be more obvious to the user running the command that it didn't work.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

made that change in b4c273c

# Format: a,b|a,b,c|c
test.ci.common.auths=
# Accumulo tserver properties to set when creating a table
test.ci.common.accumulo.server.props=\
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we comment these lines instead of removing them? They serve as a good example on how to configure. When setting up a test cluster using the Terraform scripts, this repo gets cloned onto the test cluster for testing. Having these lines here as an example would mean that we don't have to look this up to do some testing.

Copy link
Contributor Author

@keith-turner keith-turner Jul 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reverted all the changes I made to the props file. All those changes were related to the specific testing I was doing

@keith-turner keith-turner marked this pull request as ready for review July 16, 2025 14:42
@keith-turner keith-turner changed the title WIP adds some scripts to test failing compactions adds some scripts to test failing compactions Jul 16, 2025
@keith-turner keith-turner merged commit 0403417 into apache:2.1 Aug 29, 2025
1 check passed
@keith-turner keith-turner deleted the compaction-failures branch August 29, 2025 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants